@import './variables';

body{
  background-color: $bg-color-base;
}

.container{
  width: 1000px;
  margin: 20px auto;
  max-width: 90%;
  background: #fff;
}

.formTips{
  line-height: 40px;
  color: #999;
  padding-left: 10px;
}

.loginBox{
  .ant-form-item-label{
    label{
      display: inline-block;
      width: 100%;
      background: $bg-color-base;
      text-align: center;
      line-height: 30px;
      border: 1px solid $boder-color;
      border-right: none;
      border-top-left-radius: 2px;
      border-bottom-left-radius: 2px;
    }
  }
  .ant-input{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .ant-form-item{
    margin-bottom: 14px;
  }
}

.svgCaptcha{
  display: inline-block;
  padding: 4px 0;
  cursor: pointer;
  line-height: 1;
}

.myTabs{
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  margin: 0 0 16px 0;
  border-bottom: 1px solid #e8e8e8;
  li{
    margin: 0 32px 0 0;
  }
  a{
    display: block;
    padding: 12px 16px;
    position: relative;
    color: $font-base-color;
    &.act{
      color: $primary-color;
      font-weight: 500;
      &::before{
        width: 100%;
        left: 0;
      }
    }
    &::before{
      content: '';
      width: 0;
      left: 50%;
      bottom: -1px;
      height: 2px;
      background-color: $primary-color;
      position: absolute;
      z-index: 1;
      transition: .3s;
    }
    &:hover{
      color: $primary-color;
    }
  }
}

.box{
  padding: 20px;
  border-radius: 6px;
}